function deleteOne(id){
    ydlConfrim("你是否删除选择的数据？",function(){
        var url="${pathUrl}/admin/shopAd/delete";
        $.post(url,{id:id},function(result){
            layer.alert('id为'+id+'的数据删除成功', {icon: 1}, function () {
                window.location.href="${pathUrl}/admin/goods/index";
            });

        });

    });

}